'''
Created on Dec 6, 2009

@author: tliu
'''


from google.appengine.ext import webapp
from model.Auction import *
from model.Bid import *
from model.Comment import *
from model.Entry import *
from model.Project import *
from model.Subscription import *
from model.Tagging import *
from model.User import *

class FillPage(webapp.RequestHandler):
    def get(self):
        u = createUser("test", "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08", "test@test.com", 50.0, "Mehmet Ali Akmanalp", "Istanbul", "http://google.com", "A turk.", "Male", 20)
        p = createProject("The Best Project in the WORLD", u, "It's really the best project in the world man!")
        a = createAuction("Very Pricey", "foobar", 100000.0, "http://google.com", p)
        b = createBid(u, 32222.43)
        b = createBid(u, 33334224242424.33)
        a.addBid(b)
        a.addBid(b)
        u.addProject(p)
        u.addFeedItem(a)
        print "FILLED!"